package cn.daisy.equipment.io.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务主表对象 equ_io
 * 
 * @author Kevin
 * @date 2022-10-11
 */
public class EquIo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String ioNo;

    /** 单据类型编号 */
    @Excel(name = "单据类型编号")
    private String ioTypeId;

    /** 出入库方式 */
    @Excel(name = "出入库方式")
    private String ioMode;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 调往部门ID */
    @Excel(name = "调往部门ID")
    private Long toDeptId;

    /** 调往仓库ID */
    @Excel(name = "调往仓库ID")
    private Long toWarehouseId;

    /** 登记人ID */
    @Excel(name = "登记人ID")
    private Long userId;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    /** 业务明细信息 */
    private List<EquIoDetail> equIoDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIoNo(String ioNo) 
    {
        this.ioNo = ioNo;
    }

    public String getIoNo() 
    {
        return ioNo;
    }
    public void setIoTypeId(String ioTypeId) 
    {
        this.ioTypeId = ioTypeId;
    }

    public String getIoTypeId() 
    {
        return ioTypeId;
    }
    public void setIoMode(String ioMode) 
    {
        this.ioMode = ioMode;
    }

    public String getIoMode() 
    {
        return ioMode;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setToDeptId(Long toDeptId) 
    {
        this.toDeptId = toDeptId;
    }

    public Long getToDeptId() 
    {
        return toDeptId;
    }
    public void setToWarehouseId(Long toWarehouseId) 
    {
        this.toWarehouseId = toWarehouseId;
    }

    public Long getToWarehouseId() 
    {
        return toWarehouseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public List<EquIoDetail> getEquIoDetailList()
    {
        return equIoDetailList;
    }

    public void setEquIoDetailList(List<EquIoDetail> equIoDetailList)
    {
        this.equIoDetailList = equIoDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ioNo", getIoNo())
            .append("ioTypeId", getIoTypeId())
            .append("ioMode", getIoMode())
            .append("deptId", getDeptId())
            .append("warehouseId", getWarehouseId())
            .append("toDeptId", getToDeptId())
            .append("toWarehouseId", getToWarehouseId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .append("remark", getRemark())
            .append("imageUrl", getImageUrl())
            .append("equIoDetailList", getEquIoDetailList())
            .toString();
    }
}
